package com.webblog.service.user;


import com.webblog.dao.user.UserMapper;
import com.webblog.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService{

    @Autowired
    private UserMapper userMapper;

    public User findUserByName(String userName) {
        return userMapper.selectUserByName(userName);
    }
}
